<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of serial_model
 *
 * @author duongbq
 */
class Verify_Paypal extends CI_Model {

    //put your code here
    public function __construct() {
        parent::__construct();
    }

    public function add_verify($data = array()) {
        $this->db->insert('verificationkey_paypal', $data);
        return $this->db->insert_id();
    }
    
    function get_verify($param = array()) {
        
        $this->db->where($param);

        return $this->db->get('verificationkey_paypal')->result();
    }

}

